<div id="top-left">
  <span class="location-title">安全配置</span>
</div>
<div class="main-content">
  <ul nz-menu nzMode="horizontal" class="location-menu">
    <li nz-menu-item nzMatchRouter [routerLink]="['/main/user/security']">
      账户设置
    </li>
    <li nz-menu-item nzMatchRouter [routerLink]="['/main/user/profile']">
      基本资料
    </li>
    <li nz-menu-item nzMatchRouter [routerLink]="['/main/user/password']">
      密码修改
    </li>
    <li nz-menu-item nzMatchRouter [routerLink]="['/main/user/real-auth']">
      实名认证
    </li>
    <li nz-menu-item nzMatchRouter [routerLink]="['/main/user/refuse-words']">
      拒绝词汇
    </li>
  </ul>
  <form style="max-width: 600px;" nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()">
    <div style="max-width: 600px; padding-bottom: 10px;">
      <nz-alert nzType="info" nzMessage="每个词汇为一行，新词汇请回车下一行填写。" nzShowIcon></nz-alert>
    </div>
    <nz-form-item>
      <nz-form-control [nzSm]="24" [nzXs]="24">
        <textarea nz-input [nzAutosize]="{ minRows: 15, maxRows: 25 }" formControlName="refuseWords"></textarea>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
      <nz-form-control [nzSpan]="24" [nzOffset]="0">
        <button nz-button [nzType]="'primary'">提交</button>
      </nz-form-control>
    </nz-form-item>
  </form>
</div>
